#pragma once

#include "CoreMinimal.h"
#include "MBInstancedBatchDefine.h"
#include "MBInstancedBatchProxy.h"

class UMBInstancedStaticMeshComponent;

class FMBClusterInstancedBatchProxy : public FMBInstancedBatchProxyAbstract
{
	friend class UMBClusterBattleComponent;
public:
	FMBClusterInstancedBatchProxy();
	FMBClusterInstancedBatchProxy(const UObject* WorldContext) {}

public:
	virtual void ApplyCustomData(TArray<float>& PerInstanceSMCustomData) override;
	virtual void ApplyTransform(TArray<FTransform>& PerInstanceSMData) override;
	virtual int NumCustomDataFloats() override;

public:
	void Empty();
public:
	TArray< FMBInstanceBatchCharacterRenderInfo > UnitInfoArray;
};
